package com.ruoyi.wetest.utils;

/**
 * @author Allen
 * @description TODO
 * @Date 2024/6/7 15:57
 */
public class L1CacheKey {

    /**
     * 压测报告缓存
     */
    private static final String stress_re_sum = "srm:";
    /**
     * 压测某个事务统计
     */
    private static final String stress_trans_stat_info = "stsi:";

    public static String getStressReSumKey(String testId) {
        return stress_re_sum + testId;
    }

    public static String getStressTransStatInfoKey(String testId, String trans) {
        return stress_trans_stat_info + testId + ":" + trans;
    }
}
